//
//  KKLiveHelper.m
//  KKLiveDemo
//
//  Created by leo on 2017/7/29.
//  Copyright © 2017年 leo. All rights reserved.
//

#import "KKLiveHelper.h"

@implementation KKLiveHelper

+ (UIImage*)kk_chatImageWithName:(NSString*)imageName {
    if (imageName == nil) {
        return nil;
    }
    
    NSString *imagePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"KKLiveUIImages.bundle/KKChatUI"];
    imagePath = [imagePath stringByAppendingFormat: @"/%@@2x.png",imageName];
    return [UIImage imageWithContentsOfFile: imagePath];
}

@end
